if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_Staff_Location]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1)
ALTER TABLE [dbo].[Staff] DROP CONSTRAINT FK_Staff_Location
GO

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Location]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Location]
GO

CREATE TABLE [dbo].[Location] (
	[Id] [int] NOT NULL ,
	[Value] [varchar] (128) COLLATE Latin1_General_CI_AS NOT NULL 
) ON [PRIMARY]
GO

